 <%@ page language="java" import="java.util.*,java.text.*" pageEncoding="utf-8"%>
 
 <html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>ICEfaces, Ajax for Java EE</title>
    <link rel="stylesheet" type="text/css" href="css/sloa.css" />
    <script type="text/javascript">
    	function doClick(){
    		alert("!!!!!");
    		<%
    			System.out.println("按钮被点击了");
    			
    			out.print("alert('李本松是个小帅锅');");
    		%>
    	}
    </script>
  </head>
  <body>
  <h1>
  <%out.println(out.getClass());
  	out.println("<br/>");
  	out.println(out instanceof java.io.Writer);
   %>
  </h1>
    <img src="img/dog2.jpg"/>
    <input type="button" value="click it" onclick="doClick()"/>
  </body>
</html>
